package com.easy.module.system.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 路由配置信息
 * 
 * @author Easy
 */
@Setter
@Getter
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class RouterVO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /**
     * 路由地址
     */
    private String path;

    /**
     * 组件地址
     */
    private String component;

    /**
     * 路由参数
     */
    private String query;

    /**
     * 其他元素
     */
    private MetaVO meta;

    /**
     * 跳转
     */
    private String redirect;

    /**
     * 子路由
     */
    private List<RouterVO> children;
}
